package com.njwb.subject.controller;

import com.njwb.subject.json.SubjectJson;
import com.njwb.subject.service.SubjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SubjectController {
    @Autowired
    private SubjectService subjectService;
    @RequestMapping("/extract")
    public SubjectJson extract(String stuNo,String stuName,String stuPhone){
        return  subjectService.extract(stuNo,stuName,stuPhone);
    }
}
